<volist name="data.list" id="order">
    <div class="am-g goods-box bg-white">
        <!--<input type="hidden" name="id" value="{$vo.id}">-->
        <div class="am-u-sm-12 goods-head">
            <!--<span style="color: #DBDBDB;">订单编号：1601430</span>-->
            <span class="am-fr" style="color: #FFB00B;">
                <switch name="order.status">
                    <case value="1">未确认</case>
                    <case value="3">派件中</case>
                    <case value="2">已送达</case>
                    <case value="4">已取消</case>
                </switch>
            </span>
        </div>
        <div class="am-u-sm-12 good-content">
            <div class="am-u-sm-3 ">
                <img src="{$order.image_1}" alt="" width="85" height="85">

            </div>
            <div class="am-u-sm-9 " style="padding-top:10px; ">
                <span class="" style="font-size: 16px;">{$order.real_name}</span>
                <br>
                <span class="">{$order.mobile}</span> <br>
                <span class="">地址{$order.address}</span>
            </div>

            <div class="am-u-sm-12 am-text-right good-totol">
                <span><span style="color: #7F8283;display: inline-block">共1件商品</span>&nbsp;&nbsp;&nbsp;实付￥0</span>
            </div>
        </div>
        <div class="am-u-sm-12 am-text-right am-margin-vertical-xs">
            <neq name="order.status" value="2">
                <neq name="order.status" value="4">
                    <a onclick="ajaxTakeSpecGoods(4, {$order.id})"><span class="btn1">取消派送</span></a>
                </neq>
            </neq>
            <eq name="order.status" value="3">
                 <a href="#" onclick="ajaxTakeSpecGoods(2, {$order.id})"><span class="btn2">确认送达</span></a>
            </eq>
            <neq  name="order.status" value="2">
                <neq  name="order.status" value="3">
                    <neq  name="order.status" value="4">
                        <a href="#" onclick="ajaxTakeSpecGoods(3, {$order.id})"><span class="btn2" style="margin-left: 10px">开始配送</span></a>
                    </neq>
                </neq>
            </neq>
        </div>
    </div>
</volist>
<!--分页-->
<ul class="am-pagination am-pagination-right">
    <span>当前{$data.page.pagenum}页，共{$data.page.totalpage}页</span>
    <neq name="data['page']['pagenum']" value="1">
        <li onclick="gotoPage(1)"><a style="line-height: 1.2;">&laquo;</a></li>
        <else/> <li class="am-disabled"><a style="line-height: 1.2;">&laquo;</a></li>
    </neq>
    <foreach name="data.page.pagenums" item="vo">
        <eq name="data['page']['pagenum']" value="$vo">
            <li class="am-active"><a href="#" style="background-color: #FFAD01; border-color: #FFAD01">{$vo}</a></li>
            <else/>
            <li><a href="#" onclick="gotoPage('{$vo}')">{$vo}</a></li>
        </eq>
    </foreach>
    <eq name="data.page['pagenum']" value="$data.page.endPage">
        <li class="am-disabled">
            <else/>
        <li>
    </eq>
    <a href="#" onclick="gotoPage('{$data.page.totalpage}')">»</a></li>
</ul>
</div>

